Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Creating a Tween Component

This section describes the functions you must implement when creating a tween component. Before reading this section, you should be familiar with how to create components. See "Component Manager" in Mac OS For QuickTime Programmers for a complete description of components, how to use them, and how to create them.

The following example illustrates a tween component that interpolates values for short integers. Because QuickTime handles this tween type (kTweenTypeShort) for you, you do not need to implement a component to handle interpolation of short integers yourself.

Initializing the Tween Component

Generating Tween Media Values

Resetting a Tween Component


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |